package com.eerl.pdev.data;

import com.eerl.pdev.MySettingsState;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import org.jetbrains.annotations.NotNull;

public class ErlDevDataConfigOpenAction extends AnAction {

    public ErlDevDataConfigOpenAction() {
        super("打开开发xml配置文件", "", null);
    }

    @Override
    public void actionPerformed(@NotNull AnActionEvent e) {
        // 本地配置
        String devDataConfigPath = MySettingsState.getInstance().DEV_ERL_DATA_CONFIG_ABS_PATH;
        OpenErlDataFile.open(e, devDataConfigPath);

    }
}
